package com.sensor.work.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: pudong_device_config
 * @Author: jeecg-boot
 * @Date:   2024-06-02
 * @Version: V1.0
 */
@Data
@TableName("pudong_device_config")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)

public class PudongDeviceConfig implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)

    private java.lang.String id;
	/**设备号*/

    private java.lang.String deviceNo;
	/**所在站点*/

    private java.lang.String sensorPoint;
	/**设备名称*/

    private java.lang.String name;
	/**设备型号*/

    private java.lang.String sensorType;
	/**SN码*/

    private java.lang.String snCode;
	/**设备产地*/

    private java.lang.String deviceOrigin;
	/**设备生产日期*/

	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date deviceManufactureTime;
	/**设备地址*/

    private java.lang.String address;
	/**设备经度*/

    private java.lang.String longitu;
	/**设备纬度*/

    private java.lang.String latitude;
	/**设备状态*/

    private java.lang.String status;
	/**设备归属*/

    private java.lang.String deviceHome;
	/**产品ID*/

    private java.lang.String productId;
	/**物联网ID*/

    private java.lang.String deviceCtwingId;
	/**上报频率*/

    private java.lang.String reportedTime;
	/**上报频率单位*/

    private java.lang.String reportedTimeUnit;
	/**创建人*/

    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")

    private java.util.Date createTime;
	/**更新人*/

    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")

    private java.util.Date updateTime;

    @TableLogic
    private Integer deleted;
}
